package com.study.cloud;

import com.sun.javadoc.MemberDoc;
import org.springframework.stereotype.Component;

@Component
public class MemberServiceApiFallback implements MemberServiceApi {
    @Override
    public MemberDTO getMemberInfo(Integer id) {
        MemberDTO dto = new MemberDTO();
        dto.setId(0);
        dto.setName("服务熔断降级了....");
        return dto;
    }
}
